/**
 * 2015，thor.com，all rights reserved。
 * 
 * Project：		thor-webui-core-TRUNK
 * Filename：	PIpapk.java
 * Created：		2015年10月27日
 * Creator：		thor
 */
package com.thor.palmmall.dao.ipapk;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Table;
import com.thor.commons.jpa.entity.PEntity;
import com.thor.palmmall.rest.hdmall.ipapk.MIpapkType;

@Entity
@Table(name = "PIpapk")
public class PMIpapk extends PEntity {
	private static final long serialVersionUID = -575583359409350443L;

	private MIpapkType type;
	private String url;
	private String version;
	private boolean forceUpdate;
	private String backgroundUrl;
	private String versionnote;//更新内容描述

	@Enumerated(value = EnumType.STRING)
	@Column(name = "type", nullable = true, length = 128)
	public MIpapkType getType() {
		return type;
	}

	public void setType(MIpapkType type) {
		this.type = type;
	}

	@Column(name = "url", nullable = true, length = 200)
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Column(name = "fversion", nullable = true, length = 128)
	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	@Column(name = "forceUpdate")
	public boolean isForceUpdate() {
		return forceUpdate;
	}

	public void setForceUpdate(boolean forceUpdate) {
		this.forceUpdate = forceUpdate;
	}
	
	@Column(name = "backgroundurl", nullable = true, length = 200)
	public String getBackgroundUrl() {
		return backgroundUrl;
	}
	
	public void setBackgroundUrl(String backgroundUrl) {
		this.backgroundUrl = backgroundUrl;
	}

	@Column(name = "versionnote", nullable = true, length = 400)
	public String getVersionnote() {
		return versionnote;
	}

	public void setVersionnote(String versionnote) {
		this.versionnote = versionnote;
	}
	

}
